<html>
<head>
    <title><%= title %></title>
    <link rel="shortcut icon" href="/images/favicon.ico" type="image/vnd.microsoft.icon">
    <link rel="icon" href="/images/favicon.ico" type="image/vnd.microsoft.icon">
    <link rel="icon" href="/images/favicon.ico" type="image/x-icon">
    
    <!-- Styling -->
    <link rel="stylesheet" type="text/css" href="/styles/main.css">
    
    <!-- Scripts -->
    <script src="/scripts/jquery.js"></script>

    <script>
      $(document).ready(function(){
        $('.home a').click(function(e){
          // Generate a random url for a game 
          var newUrl = "/play/a?platform=flash" //+Math.floor(Math.random()*16777215*16777215).toString(16);
          
          e.preventDefault();
          window.location = newUrl;
        });
      });
    </script>
</head>
<body>

<div class="home">
  <a href="/play/">Play <%= title %></a>
</div>

</body>
</html>


